package com.management.controller.wes;

import com.management.common.EasyuiTableResponse;
import com.management.common.ServerResponse;
import com.management.pojo.report.JobsXso;
import com.management.service.wes.IGzhService;
import com.management.vo.gzh.GzhVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping({"/wes/gzh"})
public class GzhController
{
    @Autowired
    IGzhService gzhService;

    @RequestMapping({"/query"})
    public EasyuiTableResponse query(GzhVo gzgVo)
    {
        return this.gzhService.gzh(gzgVo);
    }

    @RequestMapping({"/updateJobsXso"})
    public ServerResponse updateJobsXso(JobsXso jobsXso)
    {
        return this.gzhService.updateJobsXso(jobsXso);
    }

    @RequestMapping({"/updateJobsXso1"})
    public ServerResponse updateJobsXso1(JobsXso jobsXso)
    {
        return this.gzhService.updateJobsXso1(jobsXso);
    }
}
